package com.psnoted.backend.exception;

/**
 * 密钥验证异常类
 * 当密钥验证失败时抛出此异常
 * 
 * @author PSNoted Team
 * @version 1.0.0
 */
public class KeyVerificationException extends BusinessException {

    public KeyVerificationException(String message) {
        super(401, message);
    }

    public KeyVerificationException(String keyHash, String reason) {
        super(401, "密钥验证失败: " + keyHash + " - " + reason);
    }

    public KeyVerificationException(String message, Throwable cause) {
        super(401, message, cause);
    }
} 